<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:if test="${sessionScope.STATUS_LOGIN != 1}">
    <%response.sendRedirect("LoginController");%>
</c:if>

<!DOCTYPE html>
<html>
    <head>
       <title>Search . . .</title>
       <link href="WEB-SRC/style.css" type="text/css" rel="stylesheet" media="all">
    </head>
    <body>
        <c:set var="lstFrUser" value="${requestScope.lstFrUser}" />
        <div id="wrapper">
            <div id="header"></div>
            <div id="content">
                <div id="sidebar"></div>
                <div id="primary">
                    <div id="search">
                        <h1>search</h1>
                        
                        <form id="frmSearch" name="frmSearch" action="SearchController" method="post">
                            <input type="text" id="txtSearch" name="txtSearch" value="" />
                            <input type="submit" id="subSearch" name="action" value="search" />
                        </form>
                        
                        <c:if test="${not empty lstFrUser}">
                            <c:forEach var="frUser" items="${lstFrUser}">
                                <div>
                                    <img alt="#" src="WEB-SRC/images/tut_1.png" />
                                    <div>
                                        <span>${frUser.fullName}</span>
                                        <p>Description</p>
                                    </div>
                                </div>
                            </c:forEach>
                        </c:if>
                        
                    </div>
                </div>
            </div>
            <div id="footer"></div>
        </div>
    </body>
</html>